package com.alex.core.domain.settlement;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * @author cb
 * @date 2019/11/29 17:27
 */
@Data
@ToString
@EqualsAndHashCode
public class AnnualFeeDTO {
    @ApiModelProperty(value = "编号")
    private Integer id;

    @ApiModelProperty(value = "租户编号")
    private Integer tenantId;

    @ApiModelProperty(value = "设备编号")
    private Integer deviceId;

    @ApiModelProperty(value = "设备编码")
    private String deviceNumber;

    @ApiModelProperty(value = "交易金额")
    private Integer money;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "缴纳人租户ID（上级帮下级缴纳）")
    private Integer payerTenantId;

    @ApiModelProperty(value = "租户账号编号")
    private Integer tenantAccountId;

    @ApiModelProperty(value = "支付状态：0未支付、1已支付")
    private Integer payStatus;

    @ApiModelProperty(value = "年费订单号（业务单号）")
    private String annualOrderNo;

    @ApiModelProperty(value = "开通方式，0：自助缴费，1：后台开通")
    private Integer openType;

    @ApiModelProperty(value = "安装时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date installTime;

    @ApiModelProperty(value = "年费到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date annualfeeUpTime;
}
